From 611824e64894374696bba47ecfee282a7b7db60a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 2 Nov 2018 17:01:07 +0000 Subject: [PATCH] tools/xenstore: Document that xs_close(0) is OK. Signed-off-by: Ian Jackson Acked-by: Wei Liu --- tools/xenstore/include/xenstore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenstore/include/xenstore.h b/tools/xenstore/include/xenstore.h index 064b62c455..889dc23863 100644 --- a/tools/xenstore/include/xenstore.h +++ b/tools/xenstore/include/xenstore.h @@ -77,7 +77,7 @@ typedef uint32_t xs_transaction_t; struct xs_handle *xs_open(unsigned long flags); /* Close the connection to the xs daemon. */ -void xs_close(struct xs_handle *xsh); +void xs_close(struct xs_handle *xsh /* NULL ok */); /* Connect to the xs daemon. * Returns a handle or NULL. -- 2.30.2